{include file="header.tpl"}
<div id="frame">
	<h1>Statistiques</h1>


<form name="form1" method="get">
<input type="hidden" name="module" value="player">
<input type="hidden" name="action" value="statdd">
<select name="id_season">
{foreach item=season from=$data[0]}
	<option value="{$season->getSeasonId()}" {if $season->getCurSeason() eq $smarty.get.id_season} selected="selected" {/if}>Saison {$season->getLibSeason()}</option>
{/foreach}
</select>


<select name="stat_type">
{html_options options=$data[1] selected=$smarty.get.stat_type}
</select>


<input type="submit" class="bouton" value="Envoyer">
</form>
	

<table>
<tr><td colspan="2"><font size="+1">Classement :</font></td></tr>

{foreach item=player from=$data[2]}
<tr><td><font size="-2"><a href="index.php?module=player&action=profile&id_player={$player->getId_player()}">{$player->getComplete_name()}</a></font></td><td><font size="-2">{$player->getStatCount()} {$data[3]}</font></td></tr>
{/foreach}
</table>
</div>
{include file="footer.tpl"}





